package valeria.model;

public class Ch04Ex05Add {

	int a;
	int b;

	public void setValue(int a,int b){
		this.a=a;
		this.b=b;
	}
	
	public int calculate(){
		return a+b;
	}
	
	@Override
	public String toString() {
		String result="";
		result+=calculate();
		return result;
	}
}

